from fastapi import APIRouter, Query, Depends
from extensions import NoParamRoute, ErrorSchema
router = APIRouter(route_class=NoParamRoute, responses=ErrorSchema)


# @router.get('/base', response_model=SessionDataResponse)
# async def get_login_statistics_json(params: CountSessionTimeParams = Depends(), user_info: UserInfo = Depends(n_user_token_info)):
@router.get('/base',)
async def get_login_statistics_json():
    """
    获取不同渠道登录统计数据（JSON格式）
    """
    return "success"
    # data = await FiguresService.get_stats_data(params=params, user_info=user_info)
    # return SessionDataResponse(data=data)